package com.huan.social.weixin.api;

import com.google.gson.annotations.SerializedName;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 微信用户的基本信息
 *
 * @author huan.fu
 * @date 2018/9/27 - 11:02
 */
@NoArgsConstructor
@Data
public class WeixinUserInfo {
	@SerializedName("openid")
	private String openId;
	private String nickname;
	private int sex;
	private String province;
	private String city;
	private String country;
	@SerializedName("headimgurl")
	private String headImageUrl;
	@SerializedName("unionid")
	private String unionId;
	private List<String> privilege;
}
